package com.lin.reggie.mapper;

import com.lin.reggie.entity.SetmealDish;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

public interface SetmealDishMapper {

    void saveBatch(@Param("setmealDishes") List<SetmealDish> setmealDishes);


    //删除指定多个套餐id的套餐菜品关系数据（伪删除）
    Integer deleteBySetmealIds(@Param("ids") List<Long> ids,
                               @Param("updateUser") Long updateUser,
                               @Param("updateTime") LocalDateTime updateTime);
}
